import request from '@/utils/request'

// 获取导航分类列表
export function getNavigationTypeList(query) {
  return request({
    url: '/web/navigation/typeList',
    headers: {
      isToken: false
    },
    params: query,
    method: 'get',
    timeout: 20000
  })
}
// 获取导航列表
export function getNavigationList(query) {
  return request({
    url: '/web/navigation/list',
    headers: {
      isToken: false
    },
    params: {
      type:query
    },
    method: 'get',
    timeout: 20000
  })
}
